-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add provider of updates as a dimension to metrics. #6199
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6199 +/- ##
=============================================
+ Coverage 69.91% 69.92% +0.01%
- Complexity 17736 17742 +6
=============================================
Files 2006 2007 +1
Lines 75526 75567 +41
Branches 7730 7730
=============================================
+ Hits 52804 52843 +39
- Misses 20036 20038 +2
Partials 2686 2686 ☔ View full report in Codecov by Sentry. |
...ation/src/main/java/org/opentripplanner/updater/trip/metrics/StreamingTripUpdateMetrics.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/model/RealTimeTripUpdate.java
Outdated
Show resolved
Hide resolved
application/src/test/java/org/opentripplanner/updater/siri/AddedTripBuilderTest.java
Outdated
Show resolved
Hide resolved
...opentripplanner/standalone/config/routerconfig/updaters/SiriETGooglePubsubUpdaterConfig.java
Outdated
Show resolved
Hide resolved
…ipUpdateMetrics. Also adds more details to the new producerMetrics flag, and renames it from detailedMetrics.
...in/java/org/opentripplanner/standalone/config/routerconfig/updaters/SiriETUpdaterConfig.java
Outdated
Show resolved
Hide resolved
...opentripplanner/standalone/config/routerconfig/updaters/SiriETGooglePubsubUpdaterConfig.java
Outdated
Show resolved
Hide resolved
...opentripplanner/standalone/config/routerconfig/updaters/SiriETGooglePubsubUpdaterConfig.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/updater/siri/AddedTripBuilder.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/updater/spi/DataValidationExceptionMapper.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/updater/trip/UrlUpdaterParameters.java
Show resolved
Hide resolved
...ation/src/main/java/org/opentripplanner/updater/trip/metrics/StreamingTripUpdateMetrics.java
Show resolved
Hide resolved
...ation/src/main/java/org/opentripplanner/updater/trip/metrics/StreamingTripUpdateMetrics.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but would it be possible to run it in an Entur environment first?
Summary
This PR adds the provider (datasource for SIRI updates) as a dimension to some of the metrics from the realtime updater system. The added detail on the metrics can be enabled in the configuration for the realtime updater.
Issue
Closes #4656
Unit tests
Updated existing unit tests to work with new provider and ran locally to make sure updates are applied as expected.
Documentation
Documented the new flag that enables the detailed metrics.